<?php
/**
 * Created by PhpStorm.
 * User: DD
 * Date: 2016/7/24
 * Time: 16:35
 */

namespace app\admin\controller;


use app\common\controller\Base;
use think\Controller;

class StaticPage extends Base
{
    public function view()
    {
        $id = I('get.id', '', 'trim');
        if (!empty($id)) {
            return $this->fetch('staticPage/' . $id);
        }
        echo 'error';
    }
}